﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BidGoods_detail.aspx.cs"
    Inherits="Agency_BidGoods_detail" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>审核投标药品</title>
      
    <link href="../styles/css.css" rel="stylesheet" type="text/css">
      <script language="javascript">
    
        function Sel()
        {
      //  window.alert("11");
            window.open('GoodsAdd_CompanySearch.aspx');
        }
        function confirmvalue(obj)
        { 
            document.all("txtIsSalerId").value = obj.companyid;
            document.all("txtCompany").value = obj.companyName;        
        }
        function Sel_dl()
        {
      //  window.alert("11");
            window.open('../Manage/GoodsAdd_CompanySearch_dl.aspx');
        }
        function confirmvalue_dl(obj)
        { 
       
            document.all("txtIsSalerId_dl1").value = obj.companyid;
            document.all("txtCompany_dl").value =obj.companyName;        
        }
        function chk()
        {
            if (document.all("chkIsImport").checked==false)
            {
            table1.style.display='none';
            }
            else
            {
            table1.style.display='block';
            }
        }

    </script>
 <script language="vbscript" src="../Common/yz.vbs"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
                <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript"></script>
          <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 4px">
                        <img src="../images/intro_left.gif" width="4" height="34"></td>
                    <td class="intro_wordbg">
                        审核投标商品信息</td>
                    <td background="../images/intro_bg.gif">
                        <img src="../images/intro_right.jpg" width="118" height="34"></td>
                </tr>
            </table>

            <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table_table2">
                <tr>
                    <td class="table_td3" style="height: 24px">
                        品目号</td>
                    <td class="table_td2" style="height: 24px">
                        <asp:Label ID="labProductCode" runat="server" Text="" Width="185px"></asp:Label></td>
                    <td class="table_td3">
                        通用名：
                        </td>
                    <td class="table_td2">
                        <asp:Label ID="labProductName" runat="server" Text="" Width="197px"></asp:Label></td>
                    <td class="table_td2" rowspan="3" style="width: 7px" valign="top">
                       <!-- <asp:Image ID="Image1"  ImageUrl="GoodsUpdate_Img.aspx" runat="server" Height="85px" AlternateText="未请上传图片" GenerateEmptyAlternateText="True" />-->
                                                <asp:Label ID="labImg" runat="server" Text="Label"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        剂型：
                    </td>
                    <td class="table_td2">
                        <asp:Label ID="labMedicinemodel" runat="server" Text="" Width="185px"></asp:Label></td>
                    <td class="table_td3">
                        规格：
                    </td>
                    <td class="table_td2">
                        <asp:Label ID="labOutlookc" runat="server" Text="" Width="196px"></asp:Label></td>

                </tr>
                <tr>
                    <td class="table_td3">
                        单位：
                    </td>
                    <td class="table_td2">
                        <asp:Label ID="labUnit" runat="server" Text="" Width="185px"></asp:Label></td>
                    <td class="table_td3">
                        转换系数：</td>
                    <td class="table_td2">
                        <asp:Label runat="server" ID="txtFactor" Width="193px"  NotNull="转换系数"></asp:Label>
                        <asp:Label ID="labProductId" runat="server" Text="Label"></asp:Label></td>
                </tr>
            </table>
            <table id="tabData" width="98%" border="0" align="center" cellpadding="2" cellspacing="1"
                class="table_table2">
                <tr>
                    <td class="table_td3">
                        企业商品说明书名称：</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtProductNameSM" runat="server" InvertedComma="企业商品说明书名称" NotNull="企业商品说明书名称" Width="190px"></asp:TextBox><span style="color: #ff0000">(*)按商品说明书上的药品名称填写。必须要和商品说明书上的名字一致。</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        生产企业：</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtCompany" runat="server" Width="415px" ReadOnly="true"></asp:TextBox>
                        <asp:TextBox ID="txtIsSalerId" runat="server" Width="90px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        批准文号：</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="txtLicenseNumber" InvertedComma="批准文号" Width="415px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        批准文号有效期：
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="txtLicenseNumberDate" onclick="javascript:fPopCalendar(txtLicenseNumberDate,txtLicenseNumberDate);"
                            dataType="Date" format="ymd" require="true" DateTimeOnly="批准文号有效期" Width="415px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        是否进口药</td>
                    <td class="table_td2" >
                        <asp:CheckBox ID="chkIsImport" Text="是" runat="server" onclick="javascript:chk()" /><br />
                        <table id="table1" style='display:<%=straa %>'>
                            <tr><td class="table_td2" colspan=2>
                        <asp:TextBox ID="txtCompany_dl" runat="server" ReadOnly="true" Width="415px"></asp:TextBox>&nbsp;
                        <asp:TextBox ID="txtIsalerId_dL" runat="server" Width="205px" ReadOnly="true"></asp:TextBox>
                        <input id="Button3" type="button" value="选择一级代理商" class="button_bg6" onclick='Sel_dl()'
                            style="width: 89px" />
                        <input id="Hidden2" name="txtIsSalerId_dl1" type="hidden" />
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        进口药品注册证号：
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="txtImportCode" InvertedComma="进口药品注册证号" Width="415px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        进口药品注册证有效期限：
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="txtImportRegistDate" onclick="javascript:fPopCalendar(txtImportRegistDate,txtImportRegistDate);"
                            dataType="Date" format="ymd" require="true" DateTimeOnly="进口药品注册证有效期限" Width="415px"></asp:TextBox>
                    </td>
                </tr></table></td></tr>
                <tr>
                    <td class="table_td3">
                        商品名：
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="txtGoodsName" InvertedComma="商品名" Width="415px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        材 质：</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="txtMaterial" InvertedComma=" 材 质" Width="415px"></asp:TextBox>
                        <asp:TextBox runat="server" ID="txtPackUnit" InvertedComma="包装单位" Width="69px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        最新零售价：
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="txtRetailPrice" NumericOnly="零售价" Width="415px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3" style="height: 30px">
                        零售价出处：
                    </td>
                    <td class="table_td2" style="height: 30px">
                        <asp:TextBox runat="server" ID="txtMemo4" InvertedComma="零售价出处" Width="415px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        药品质量层次：
                    </td>
                    <td class="table_td2">
                         <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table_table2">
                            <tr>
                                <td class="table_td3">
                                </td>
                                <td class="table_td2">
                                    <asp:RadioButtonList ID="rdoQualityLevels" runat="server" RepeatDirection="Horizontal">
                                        <asp:ListItem Text="普通GMP药品" Value="0" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="专利药品" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="1999年以来获得国家科学技术奖的药品" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="国家一类新药" Value="3"></asp:ListItem>
                                        <asp:ListItem Text="原研制药品" Value="4"></asp:ListItem>
                                        <asp:ListItem Text="单独定价药品" Value="5"></asp:ListItem>
                                        <asp:ListItem Text="优质优价中成药" Value="6"></asp:ListItem>
                                        <asp:ListItem Text="全国医药工业百强企业的药品" Value="7"></asp:ListItem>
                                        <asp:ListItem Text="中药保护品种" Value="8"></asp:ListItem>
                                        <asp:ListItem Text="欧美认证药品" Value="9"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_td3">
                                    说明：</td>
                                <td class="table_td2">
                                    <asp:TextBox ID="txtMemo5" runat="server" Height="86px" TextMode="MultiLine" Width="412px"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        有无药品检验报告：
                    </td>
                    <td class="table_td2">
                        <asp:CheckBox ID="chkIsSurveyReport" runat="server" Text="有" /><br />
                        <table width="98%">
                            <tr>
                                <td class="table_td3">
                                    <asp:Label ID="Label1" runat="server" Text="药品检验报告编号："></asp:Label></td>
                                <td class="table_td2">
                                    <asp:TextBox ID="txtSurveyReportId" runat="server" Width="415px" InvertedComma="药品检验报告编号"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="table_td3">
                                    <asp:Label ID="Label2" runat="server" Text="药品检验报告有效期："></asp:Label></td>
                                <td class="table_td2">
                                    <asp:TextBox ID="txtSurveyReportDate" runat="server" Width="415px" onclick="javascript:fPopCalendar(txtSurveyReportDate,txtSurveyReportDate);"
                                        dataType="Date" format="ymd" require="true" DateTimeOnly="药品检验报告有效期"></asp:TextBox></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        商品说明:</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtGoodsInstruction" runat="server" Height="123px" TextMode="MultiLine"
                            Width="415px" InvertedComma="商品说明"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        审核说明:</td>
                    <td class="table_td2">
                        <asp:TextBox ID="txtshdiscrible" runat="server" Height="128px" TextMode="MultiLine" Width="415px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        <asp:Button ID="Btnpass" runat="server" Text="审核通过" OnClick="Btnpass_Click" class="button_bg6"
                            Width="61px" /></td>
                    <td class="table_td3">
                        <asp:HiddenField ID="hidProductId" runat="server" />
                        <asp:TextBox ID="txtMemo3" runat="server"></asp:TextBox>
                        <asp:Button ID="Btnnopass" runat="server" Text="审核不通过" OnClick="Btnnopass_Click"
                            class="button_bg6" Width="69px" /><asp:TextBox ID="txtGoodsId" runat="server" Width="20px"></asp:TextBox>
                        
                        &nbsp; &nbsp;
                        <asp:Button ID="Button1" runat="server" Text="未审核" OnClick="Button1_Click" class="button_bg6" />
                        &nbsp;&nbsp; &nbsp;<asp:TextBox ID="txtImgUrl" runat="server"></asp:TextBox>&nbsp;
                    </td>
                </tr>
            </table>
            <center>
                <asp:Panel ID="Panel1" runat="server" Height="50px" Width="98%" Visible="False">
                    <table width="98%">
                        <tr>
                            <td style="height: 21px; ">
                                <font color="red">
                                    <h4 align="center">
                                        审核不通过原因</h4>
                                </font>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 77px">
                                &nbsp;<asp:TextBox ID="TextBox1" runat="server" Height="123px" TextMode="MultiLine"
                                    onblur="javascript:if(/[']+$/.test(this.value)){alert('输入内容含有非法字符！');return false;}"
                                    Width="907px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td align="center">
                                <asp:Button ID="Button2" CssClass="button_bg6" runat="server" Text="保存" OnClick="Button2_Click" /></td>
                        </tr>
                    </table>
                </asp:Panel>
            </center>
        </div>
    </form>
</body>
</html>
